package com.zkj.service;

import com.zkj.dto.DishDTO;
import com.zkj.dto.DishPageQueryDTO;
import com.zkj.entity.Dish;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zkj.result.Result;
import com.zkj.vo.DishVO;

import java.util.List;

/**
 * <p>
 * 菜品 服务类
 * </p>
 *
 * @author zkj
 * @since 2024-08-22
 */
public interface IDishService extends IService<Dish> {

    void addDish(DishDTO dish);

    Result pageListPaging(Integer page, Integer pageSize, String name, Integer categoryId, Integer status);

    Result updateDishStatus(Integer status, Long id);

    Result getDishById(Long id);

    Result deleteDish(Long ids);

    void updateDish(DishDTO dish);

    List<DishVO> listWithFlavor(Long categoryId);
}
